package com.niubility.dao;



import com.niubility.entity.Lable;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LableDao {
    public int addLab(Lable lable);
    public int deleteLab(int[] labIds);
    public int updateLab(Lable lable);
    public int addArticle(@Param("artId") int artId,@Param("labIds") int[] labIds);
    public int changeUsernum(@Param("labId") int labId,@Param("value") int value);
    public int reduceArt(int artId);
    public Lable loadLabById(int labId);
    public List<Lable> loadAllLab();
    public List<Lable> loadNewCommu(int counts);
    public List<Lable> loadHotCommu(@Param("index") int index,@Param("counts") int counts);
}


